package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 金藻系统配置对象 pc_gold_config
 * 
 * @author ruoyi
 * @date 2022-07-26
 */
@ApiModel(value = "PcGoldConfig",description = "金藻系统配置对象 pc_gold_config")
public class PcGoldConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 金藻配置主键 */
    private Long id;

    /** 金藻商城购买金藻返利金藻比例 */
    @ApiModelProperty(value="金藻商城购买金藻返利金藻比例",name="PcGoldConfig$productRate")
    @Excel(name = "金藻商城购买金藻返利金藻比例")
    private BigDecimal productRate;

    /** 配置参数 */
    @ApiModelProperty(value="配置参数",name="PcGoldConfig$type")
    @Excel(name = "配置参数")
    private String type;

    /** 金藻价格 */
    @ApiModelProperty(value="金藻价格",name="PcGoldConfig$price")
    @Excel(name = "金藻价格")
    private BigDecimal price;

    /** 提现比例 */
    @ApiModelProperty(value="提现比例",name="PcGoldConfig$cashRate")
    @Excel(name = "提现比例")
    private BigDecimal cashRate;

    /** 转账比例 */
    @ApiModelProperty(value="转账比例",name="PcGoldConfig$transferRate")
    @Excel(name = "转账比例")
    private BigDecimal transferRate;

    /** 提现申请开关 */
    @ApiModelProperty(value="提现申请开关",name="PcGoldConfig$cashApply")
    @Excel(name = "提现申请开关")
    private String cashApply;

    /** 转账申请开关 */
    @ApiModelProperty(value="转账申请开关",name="PcGoldConfig$transferApply")
    @Excel(name = "转账申请开关")
    private String transferApply;

    /** 提现额度 */
    @ApiModelProperty(value="提现额度",name="PcGoldConfig$cashLimit")
    @Excel(name = "提现额度")
    private BigDecimal cashLimit;

    /** 转账额度 */
    @ApiModelProperty(value="转账额度",name="PcGoldConfig$transferLimit")
    @Excel(name = "转账额度")
    private BigDecimal transferLimit;
    private BigDecimal taxRate;

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductRate(BigDecimal productRate) 
    {
        this.productRate = productRate;
    }

    public BigDecimal getProductRate() 
    {
        return productRate;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCashRate(BigDecimal cashRate) 
    {
        this.cashRate = cashRate;
    }

    public BigDecimal getCashRate() 
    {
        return cashRate;
    }
    public void setTransferRate(BigDecimal transferRate) 
    {
        this.transferRate = transferRate;
    }

    public BigDecimal getTransferRate() 
    {
        return transferRate;
    }
    public void setCashApply(String cashApply) 
    {
        this.cashApply = cashApply;
    }

    public String getCashApply() 
    {
        return cashApply;
    }
    public void setTransferApply(String transferApply) 
    {
        this.transferApply = transferApply;
    }

    public String getTransferApply() 
    {
        return transferApply;
    }
    public void setCashLimit(BigDecimal cashLimit) 
    {
        this.cashLimit = cashLimit;
    }

    public BigDecimal getCashLimit() 
    {
        return cashLimit;
    }
    public void setTransferLimit(BigDecimal transferLimit) 
    {
        this.transferLimit = transferLimit;
    }

    public BigDecimal getTransferLimit() 
    {
        return transferLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productRate", getProductRate())
            .append("type", getType())
            .append("price", getPrice())
            .append("cashRate", getCashRate())
            .append("transferRate", getTransferRate())
            .append("cashApply", getCashApply())
            .append("transferApply", getTransferApply())
            .append("cashLimit", getCashLimit())
            .append("transferLimit", getTransferLimit())
            .toString();
    }
}
